home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Prog / T / TCL⁄C 1.1.2 Update.cpt / About TCL 1.1.2
Text File  |  1992-01-10  |  6KB  |  166 lines

  1. ABOUT THINK CLASS LIBRARY 1.1.2 
  2. ===============================
  3. Copyright © 1992 Symantec Corporation. All rights reserved.
  4. January 9, 1992
  5. Font: Geneva 12
  6.  
  7. INTRODUCTION
  8. =============
  9. The THINK Class Library 1.1.2 fixes some bugs in the THINK Class Library 
  10. 1.1, included with THINK C 5.0. 
  11.  
  12.     •••••••••
  13.     IMPORTANT
  14.     •••••••••
  15.         Some copies of the Object-Oriented Programming Manual have 
  16.         a misprint: page 313 is a duplicate of page 321. This update
  17.         puts a copy of the correct page 313 in the “TCL 1.1 Doc”
  18.         folder.
  19.         
  20. This document has three more sections:
  21.  
  22.     •  UPDATING THINK CLASS LIBRARY tells you how to run “TCL/C 
  23.         1.1.2 Update.sea” to update your THINK Class Library to 1.1.2.
  24.  
  25.     •  WHAT THIS UPDATE FIXES lists the most significant bugs that 
  26.         this update fixes.
  27.     
  28.     •  LAST MINUTE CHANGES contains a correction to the Object-
  29.         Oriented Programming Manual.
  30.  
  31.  
  32. UPDATING THINK CLASS LIBRARY
  33. ==============================
  34. The application “TCL/C 1.1.2 Update.sea” transforms your existing THINK 
  35. Class Library from version 1.1 to 1.1.2. It replaces 25 files in the THINK 
  36. Class Library. For a list of the files, see “What this update replaces” below. 
  37. This update uses a self-extracting archive, an application that contains 
  38. compressed files which it decompresses and installs on your hard disk. 
  39.  
  40.    1. Make sure that you have a copy of the original THINK Class
  41.        Library. You won't need it for this update, but you should make
  42.        sure that you have a backup in case the update fails. Do not 
  43.        patch your original master disk.
  44.        
  45.     2. Make sure that you haven’t changed the names of any of the
  46.         folders. If the update can’t find a folder with exactly the right
  47.         name, it will create a new folder to put its files in, and it  
  48.         won’t update your files. Most importantly, the folder containing 
  49.         all the TCL files must be named “THINK Class Library 1.1” and 
  50.         the folder containing the TCL demos must be named “TCL 1.1 
  51.         Demos”.
  52.    
  53.     3. Double-click on the the application “TCL/C 1.1.2 Update.sea.”
  54.         A dialog appears summarizing what this program does. Click 
  55.         anywhere to continue.
  56.  
  57.     4. A standard file dialog appears. Move to your Development folder  
  58.         and click Extract.
  59.         
  60.     5. A dialog appears telling you that CDemoApp.c already exists.
  61.         Click “Replace ALL Duplicates.”
  62.  
  63.     6. The archive decompresses its files and places them on your hard  
  64.         disk. It displays its progress in a dialog. The archive quits 
  65.         when it’s done.
  66.        
  67.  
  68. WHAT THIS UPDATE REPLACES
  69. ===========================
  70. This update replaces 33 files in the THINK Class Library. Two are 
  71. documentation files, two are code files in the NewClassDemo, and 30 are 
  72. code files in the THINK Class Library.
  73.  
  74. Here are the 30 code files in the “THINK Class Library 1.1” folder, organized  
  75. by folder.
  76.  
  77. In the “Control classes” folder:
  78.      •  CButton.c
  79.      •  CIconPane.c
  80.      •  CIconPane.h
  81.      •  CPopupMenu.c
  82.      •  CPopupPane.c
  83.      •  CStdPopupPane.c
  84.      
  85. In the “Core classes” folder
  86.      •  CControl.h in the “Core Headers” folder
  87.      •  CDirector.h in the “Core Headers” folder
  88.      •  CApplication.c in the “Core Sources” folder
  89.      •  CControl.c in the “Core Sources” folder
  90.      •  CDesktop.c in the “Core Sources” folder
  91.      •  CDirector.c in the “Core Sources” folder
  92.      •  CDocument.c in the “Core Sources” folder
  93.      •  CPane.c in the “Core Sources” folder
  94.      •  CPaneBorder.c in the “Core Sources” folder
  95.      •  CPanorama.c in the “Core Sources” folder
  96.      •  CPrinter.c in the “Core Sources” folder
  97.      •  CRunArray.c in the “Core Sources” folder
  98.      
  99. In the “Dialog classes” folder:
  100.     •  CDLOGDialog.c
  101.     
  102. In the “FW/Tearoffs” folder:
  103.     •  CFWDesktop.c
  104.     •  CMenuDefProc.c
  105.     
  106. In the “Table classes” folder:
  107.     •  CArrayPane.c
  108.     •  CTable.c
  109.     •  CTable.h
  110.     
  111. In the “TCL Libraries” folder:
  112.     •  OSChecks.h in the “TCL Library headers” folder
  113.     •  TCLUtilities.h in the “TCL Library headers” folder
  114.     •  OSChecks.c in the “TCL Library sources” folder
  115.     •  TBUtilities.c in the “TCL Library sources” folder
  116.     
  117. In the “Text classes” folder:
  118.     •  CAbstractText.c
  119.     •  CEditText.c
  120.     
  121. Here is a documentation file in the “TCL 1.1 Doc” folder of the 
  122. “THINK Class Library 1.1” folder:
  123.     •  OOP page 313
  124.     
  125. And here are two files that are replaced in the “NewClassDemo Folder” in 
  126. the “TCL 1.1 Demos” folder:
  127.     •  CDemoApp.h in the “Demo headers” folder
  128.     •  CResBrowser.c in the “Demo sources” folder
  129.  
  130.     
  131. LAST MINUTE CHANGES
  132. ====================
  133. This section lists some last minute changes and corrections to the THINK C 
  134. Object-Oriented Programming Manual. There are more last minute changes and
  135. corrections in the READ ME file in the “TCL 1.1 Doc” folder.
  136.  
  137. Installing the THINK Class Library
  138. -------------------------------
  139. •  After buidling Starter.π, its size is about 2 megabytes. The size given in 
  140.     the section “Building the Starter Project” is incorrect.
  141.  
  142. CDataFile
  143. ---------
  144. •  On page 265, the example for ReadAll() should look like this, in C:
  145.         Handle theData;
  146.         . . .
  147.         theData = myDataFile->ReadAll();
  148.         . . .
  149.  
  150.     And it should look like this in C:
  151.         var
  152.             theData: Handle;
  153.         begin
  154.             . . .
  155.             theData = myDataFile.ReadAll;
  156.             . . .
  157.         end;
  158.  
  159. CPanorama
  160. ----------
  161. •  On page 375, the declaration for the ScrollTo method should look like 
  162.     this, in C:
  163.         void    ScrollTo( LongPt *aPosition, Boolean redraw );
  164.         
  165.     And like this, in Pascal:
  166.         procedure ScrollTo( aPosition: LongPt; redraw: Boolean );